<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Pour  afficher nom & photo </title>
</head>
<body>
<?php
{
	$xml = simplexml_load_file("etudiant.xml");
	foreach ($xml->channel->item as $item)
	{
		echo "<img src='".$item->enclosure['url']."' onclick='alert(this.src)' />";
		echo "<div>".$item->title."</div>";
		?>
		<form>
		<p>excercice:<input type="text" name="exercice"></p>
		<p>note:<input type="int" name="note"></p>
	    
		<input TYPE="submit" NAME="nom" VALUE=" valider ">
	   
	     <br>
	  
		<input TYPE="submit" NAME="nom" VALUE=" ajouter_note ">
	   
		<br>
		
		<p>la moyenne:<input type="int" name="la moyenne "></p>
	    </form>
		<br>
		
		<?php
	}
	

}	
?>
</body>
</html>